package org.jeecg.modules.mapper.print;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.bean.entity.print.TbPrintChargeRecord;
import org.jeecg.modules.bean.vo.print.ChargeCountsVo;
import org.jeecg.modules.bean.vo.print.PrintChargeRecordVo;

import java.util.List;

/**
 * @Description: 打印收费记录表
 * @Author: jeecg-boot
 * @Date: 2023-10-19
 * @Version: V1.0
 */
public interface TbPrintChargeRecordMapper extends BaseMapper<TbPrintChargeRecord> {

    PrintChargeRecordVo queryByDateType(@Param("dateType") Integer dateType, @Param("startTime") String startTime, @Param("endTime") String endTime);

    List<PrintChargeRecordVo> queryFeeCountsByItems(String startTime, String endTime, @Param("chargeRecord") TbPrintChargeRecord chargeRecord,@Param("operatorIDS") String[] operatorIDS);

    ChargeCountsVo queryTotalMoney(String startTime, String endTime, TbPrintChargeRecord chargeRecord,String... operatorIDS);
}
